package com.woniuxy.dao;

import com.woniuxy.entity.ExamOver;
import com.woniuxy.entity.ExamPublish;
import com.woniuxy.entity.PaperObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/5/7 15:02
 * @Description TODO
 */
public interface CorrectExamDao {
    List<ExamPublish> showAll();

    List<ExamPublish> findLike(ExamPublish examPublish);

    int findExamineeIsCorrect(@Param("eid") int eid, @Param("sid") int sid);

    int findStatus(int eid, int sid);

    int findScore(int eid, int sid);

    List<ExamOver> findAll(int eid, int sid);

    List<PaperObject> findPaperAll(int eid);

    int updateSome(List<ExamOver> examOverList);

    int updateOther(List<PaperObject> paperObjectList, int eid, int sid);
}
